package cc.z8g.browser.utils.sp;

import android.content.Context;
import android.content.SharedPreferences;

import cc.z8g.browser.BrowserApp;

/**
 * SpManager
 *
 * @author zhaoxuyang.net
 * @since 2024-08-06
 */
final class SpManager {

    private static Context getContext() {
        return BrowserApp.getApplication();
    }

    public static SharedPreferences getUserSp() {
        return getContext().getSharedPreferences("user_settings", Context.MODE_PRIVATE);
    }
}
